package com.lemon.service.lemon;

import com.lemon.model.LemonScripts;
import com.lemon.base.result.Results;
import com.lemon.model.SysMail;

import java.util.Map;

/**
 * @author lemon
 */
public interface LemonScriptsService {

   Results<LemonScripts>  getByPage(Map<String, Object> params,Integer offset, Integer limit);

   Results  save(LemonScripts lemonScripts);

   Results  getById(Long id);

   Results update(LemonScripts lemonScripts);

   Results  delete(LemonScripts lemonScripts);

   Results run(LemonScripts lemonScripts,String args, String... workspace);

   LemonScripts getLemonScriptsById(Long id);

   Results saveScripts(LemonScripts lemonScripts);

   Results updateScripts(LemonScripts lemonScripts);

}

